package co.gov.medellin.ssti.sub.model.dao;

import java.util.Collection;

import co.gov.medellin.ssti.sub.model.dao.exception.DAOException;
import co.gov.medellin.ssti.sub.model.vo.SubprogramaSedeVO;

public interface ISubprogramaSedeDAO extends BaseDAO {
	/**
	 * 
	 * @param criteria
	 * @return
	 * @throws DAOException
	 */
	Collection<SubprogramaSedeVO> findSubprogramaSedeByCriteria(
			SubprogramaSedeVO criteria) throws DAOException;

	/**
	 * 
	 * @param codeSubprogramaSede
	 * @return
	 * @throws DAOException
	 */
	Collection<SubprogramaSedeVO> findSubprogramaSedeByCode(
			Long codeSubprogramaSede) throws DAOException;

	/**
	 * 
	 * @param codeSubprogramaSede
	 * @param codeUser
	 * @param param
	 * @throws DAOException
	 */
	void insertUsuarioSede(Long codeSubprogramaSede, Long codeUser,
			String param[]) throws DAOException;

	/**
	 * 
	 * @param codeSede
	 * @param codeSubprograma
	 * @param desde
	 * @param hasta
	 * @param cantidad
	 * @param param
	 * @return
	 * @throws DAOException
	 */
	String[] insertSubprogramaSede(Long codeSede, Long codeSubprograma,
			String desde, String hasta, String cantidad, String param[])
			throws DAOException;

	/**
	 * 
	 * @param codeSubprogramaSede
	 * @param parArr
	 * @return
	 * @throws DAOException
	 */
	boolean actualizarSubproSede(Long codeSubprogramaSede, String parArr[])
			throws DAOException;
}
